{:hook('user_sidenav_before')}
<ul>
	<li {if(request()->action()=='index')}class="active"{/if}><a href="{:url('user/index')}"><i class="iconfont">&#xe61d;</i> 个人中心</a></li>
	<li {if(request()->action()=='changepwd')}class="active"{/if}><a href="{:url('user/changepwd')}"><i class="iconfont">&#xe759;</i> 密码修改</a></li>
	
	{if($user.company_id!=0)}
	<li {if(request()->action()=='mycompany')}class="active"{/if}><a href="{:url('user/mycompany')}"><i class="iconfont">&#xe72e;</i> 我的企业</a></li>
	{else/}
		{if(is_null($rs_qiyeshenpi))}
			<li {if(request()->action()=='become_company')}class="active"{/if}><a href="{:url('user/become_company')}"><i class="iconfont">&#xe72e;</i> 升级成企业</a></li>
		{else if(in_array($rs_qiyeshenpi.status,['0','-1'])) /}
			<li {if(request()->action()=='become_company_result')}class="active"{/if}><a href="{:url('user/become_company_result')}"><i class="iconfont">&#xe72e;</i> 升级成企业</a></li>
		{/if}
	{/if}
	<li {if(request()->action()=='wode_dingyue'||request()->action()=='wode_dingyue_detail')}class="active"{/if}><a href="{:url('user/wode_dingyue')}"><i class="iconfont">&#xe648;</i> 我的订阅</a></li>
	<li ><a href="{:url('index/single',['article'=>'aboutus'])}"><i class="iconfont">&#xe6e5;</i> 关于我们</a></li>
	<li ><a href="{:url('index/single',['article'=>'guangxuanhezuo'])}"><i class="iconfont">&#xe61e;</i> 广宣合作</a></li>
</ul>
{:hook('user_sidenav_after')}